package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CursorReturnability {

    private int beginIndex;
    private int endIndex;
    private boolean withReturn;
    private boolean withoutReturn;

    public CursorReturnability(int beginIndex,
                             int endIndex,
                             boolean withReturn,
                             boolean withoutReturn) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.withReturn = withReturn;
        this.withoutReturn = withoutReturn;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isWithReturn() {
        return withReturn;
    }

    public boolean isWithoutReturn() {
        return withoutReturn;
    }

}
